package com.ntschy.bt.entity.mapstruct;

import com.ntschy.bt.entity.dataobject.BtHelp.BtHelp;
import com.ntschy.bt.entity.dto.BtHelpDTO.AssignDTO.BtHelpAssignPageDTO;
import com.ntschy.bt.entity.dto.BtHelpDTO.ReviewDTO.BtHelpAuditDTO;
import com.ntschy.bt.entity.dto.BtHelpDTO.ReviewDTO.BtHelpReviewPageDTO;
import com.ntschy.bt.entity.vo.BtHelp.Assign.BtHelpAssignDetailsVO;
import com.ntschy.bt.entity.vo.BtHelp.Assign.BtHelpAssignPageVo;
import com.ntschy.bt.entity.vo.BtHelp.Review.BtHelpReviewPageVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author cm
 */
@Mapper
public interface BtHelpReviewMapstruct {

    BtHelpReviewMapstruct BT_HELP_Review_MAP_STRUCT = Mappers.getMapper(BtHelpReviewMapstruct.class);

    /**
     * 分页查询类转换
     *
     * @param pageDTO 分页查询条件
     * @return BtHelp
     */
    BtHelp pagetableDto(BtHelpReviewPageDTO pageDTO);

    /**
     * 响应分页的数据类型
     *
     * @param btHelpList
     * @return List<BtHelpAssignPageVo>
     */
    List<BtHelpReviewPageVO> pagePustrespone(List<BtHelp> btHelpList);

    /**
     * 响应分配部门详情的数据类型
     *
     * @param btHelp
     * @return
     */
    BtHelpAssignDetailsVO mainchangeBtHelpAssignDetailsVO(BtHelp btHelp);


    /**
     * 响应分配部门详情的数据类型
     *
     * @param btHelpAuditDTO
     * @return
     */
    BtHelp minBtHelpAuditDTO (BtHelpAuditDTO btHelpAuditDTO);







}
